.class public final Lnbisdk/ax;
.super Ljava/lang/Object;

# interfaces
.implements Lnbisdk/sl;


# instance fields
.field private bH:Lnbisdk/le;

.field private bI:Ljava/lang/String;

.field private bJ:I

.field private bK:Z


# direct methods
.method public constructor <init>(Lnbisdk/le;Z)V
    .locals 0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-boolean p2, p0, Lnbisdk/ax;->bK:Z

    invoke-virtual {p0, p1}, Lnbisdk/ax;->a(Lnbisdk/le;)V

    return-void
.end method


# virtual methods
.method final a(Lnbisdk/le;)V
    .locals 2

    iput-object p1, p0, Lnbisdk/ax;->bH:Lnbisdk/le;

    iget-boolean v0, p0, Lnbisdk/ax;->bK:Z

    if-eqz v0, :cond_1

    invoke-virtual {p1}, Lnbisdk/le;->getHostName()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lnbisdk/ax;->bI:Ljava/lang/String;

    :goto_0
    invoke-virtual {p1}, Lnbisdk/le;->aP()I

    move-result v0

    iput v0, p0, Lnbisdk/ax;->bJ:I

    iget v0, p0, Lnbisdk/ax;->bJ:I

    if-gtz v0, :cond_0

    const/16 v0, 0x1fc0

    iput v0, p0, Lnbisdk/ax;->bJ:I

    :cond_0
    return-void

    :cond_1
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p1}, Lnbisdk/le;->hS()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lnbisdk/sf;->aM(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "."

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {p1}, Lnbisdk/le;->getHostName()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lnbisdk/ax;->bI:Ljava/lang/String;

    goto :goto_0
.end method

.method public final aP()I
    .locals 1

    iget v0, p0, Lnbisdk/ax;->bJ:I

    return v0
.end method

.method public final getHostName()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lnbisdk/ax;->bI:Ljava/lang/String;

    return-object v0
.end method

.method public final getProperty(Ljava/lang/String;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lnbisdk/ax;->bH:Lnbisdk/le;

    invoke-virtual {v0, p1}, Lnbisdk/le;->getProperty(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method
